package com.example.demo.service;

import com.example.demo.mapper.Get_CarMapper;
import com.example.demo.mapper.Get_MapMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
@Service
public class MapService {
    @Resource
    private Get_MapMapper getMapMapper;

    @Resource
    private Get_CarMapper getCarMapper;

    public List<Map<String,Object>> getPoi(){
        return getMapMapper.getMap();
    }

    public List<Map<String,Object>> getCar(){
        return getCarMapper.getCar();
    }

}
